﻿<%@ Page Title="Purchase Order" Language="C#" MasterPageFile="~/POS.master" AutoEventWireup="true" CodeFile="AddEditPO.aspx.cs" Inherits="Purchase_AddEditPO" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div class="container">
        <div class="form-horizontal" id="divCustomerWrapper">
            <div class="form-group">
                <label class="control-label col-sm-4" for="Name">PO # :</label>
                <div class="col-sm-6">
                    <input type="text" id="txtCustomerName" class="form-control" placeholder="Purchase Order Number" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-4" for="Person">Date :</label>
                <div class="col-sm-6">
                    <input type="text" id="txtDate" class="form-control" placeholder="Date"/>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-4" for="Person">Vendor :</label>
                <div class="col-sm-6">
                    <asp:DropDownList ID="ddlVendors" CssClass="form-control" runat="server" Width="99%"
                        DataTextField="CustomerName" DataValueField="CustomerId"
                        ></asp:DropDownList>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-sm-4" for="Person">Payment Mode :</label>
                <div class="col-sm-6">
                    <asp:DropDownList ID="ddlPaymentMode" CssClass="form-control" runat="server" Width="99%">
                        <asp:ListItem Selected="True" Text="Cash" Value="Cash"></asp:ListItem>
                        <asp:ListItem Text="Credit" Value="Credit"></asp:ListItem>
                    </asp:DropDownList>
                </div>
            </div>
            
            <div class="form-group">
                <div class="col-sm-offset-4 col-sm-8">
                    <input type="button" id="btnSave" class="btn btn-success" value="Save" onclick="saveCustomer()" />
                    <input type="button" id="btnAddItems" class="btn btn-primary" value="Add Items" onclick="saveCustomer()" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>

